package com.sh.data.engine.domain.shims.iotdb.domain;

import lombok.Data;
import org.apache.iotdb.tsfile.write.schema.MeasurementSchema;

import java.util.List;

@Data
public class TabletDomain {
    private String deviceId;
    // 包含测点名和测点数据类型
    private List<MeasurementSchema> schemaList;
    private int maxRowNumber = 100;
    private List<TabletDataSet> tabletDataSets;

    @Data
    public static class TabletDataSet {
        private List<Object> values;// 测点数据集合
        private Long timestamp;// 时间戳
    }
}
